/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wiai.untl.core.dao.jpa;

import com.wiai.untl.core.dao.FasilitasRuangDAO;
import com.wiai.untl.core.entity.FasilitasRuang;
import java.util.List;

/**
 *
 * @author Hendro Steven
 */
public class FasilitasRuangDAOImpl extends GeneralDAOImpl implements FasilitasRuangDAO {

    @Override
    public List<FasilitasRuang> getAllFasilitasRuang() {
        return getJpaTemplate().find("Select f From FasilitasRuang f");
    }

    @Override
    public FasilitasRuang getById(long id) {
        return (FasilitasRuang) getJpaTemplate().find(FasilitasRuang.class, id);
    }
}
